Skip to content

Fix type conversions from/to optional type (std::any) - #44

Open
antis81 wants to merge 1 commit into
sasq64:devfrom
antis81:type-conversion-fixes
Open

Fix type conversions from/to optional type (std::any)#44
antis81 wants to merge 1 commit into
sasq64:devfrom
antis81:type-conversion-fixes

Conversation

@antis81

@antis81 antis81 commented Jul 24, 2023

Copy link
Copy Markdown
Contributor

NOTE: Does not change current parsing logic!

  • Throw on invalid conversion of an empty std::any value to non-optional (c++) type (int,Number,string,…)
  • Remove (unused) SemanticValues array value cast function
  • Move definition of AsmValue type to defines.h (-> less dependent code units)

NOTE: Does not change current parsing logic!

- Throw on invalid conversion of an empty std::any value to non-optional (c++) type (int,Number,string,…)
- Remove (unused) SemanticValues array value cast function
- Push the v_default AsmValue instead of creating another instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant